package com.weishe.util;

import java.util.Date;
import java.util.Timer;

import com.weishe.hive.LoadDataToHive;
import com.weishe.web.WebServer;

public class ExcuteUtil {

	public static void main(String[] args) {
		Timer timer =new Timer("log");
		timer.schedule(new WebServer(), new Date(), 1000);
		Timer loaddata =new Timer("loaddata");
		loaddata.schedule(new LoadDataToHive(), 60000, 60000);
	}
}
